[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 U_INCONF(IEXP1,IEXP2) (BOOLEAN)

 Function
  Determine if a user is registered in a conference.

 Syntax
  U_INCONF(rec,conf)

   rec  = An integer expression with the record number of the user to check.
   conf = An integer expression with the conference number to check.

 Return Type & Value
  BOOLEAN
  Returns TRUE if the user is registered in the specified conference,
  FALSE otherwise.

 Remarks
  It is sometimes necessary to know if a user is registered in a
  conference (for example, when entering a message to a particular user).
  This function will return TRUE if the user is registered in the
  conference specified.  Before calling this function you need to find the
  users record number from the USERS file with the U_RECNUM() function.

 Examples
  INTEGER i,rec
  STRING  un,ynStr(1)
  LET ynStr(0) = "NO"
  LET ynStr(1) = "YES"
  INPUT "User name",un
  NEWLINE
  LET rec = U_RECNUM(un)
  FOR i = 1 TO 10
    PRINTLN un," in conf ",i,":  ",ynStr(U_INCONF(i,rec))
  NEXT

See Also: U_RECNUM()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson